package com.bjpowernode.workbench.web.mapper;

import com.bjpowernode.workbench.web.domain.ClueActivityRelation;

import java.util.List;

public interface ClueActivityRelationMapper {

//批量关联线索和市场活动
   int insertClueActivityRelationByList(List<ClueActivityRelation> clueActivityRelationList);

//   解除线索与市场活动关联
   int deleteClueActivityByClueActivityRelation(ClueActivityRelation clueActivityRelation);

//   通过线索id查询该线索与活动的所有关联关系
   List<ClueActivityRelation> selectClueActivityRelationByClueId(String clueId);

//   通过线索id删除与该id相关联的市场活动关系
   int deleteClueActivityRelationByClueId(String id);
}
